package com.bean;

/**
 * Created by juli on 2020/5/10.
 */

public class TradeMessage {
    String mac;
    String message;

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    String index;
    String time;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    String sn;

    int nTradeCount=0;
    int nTradeSuccessNumber = 0;
    int nTradeFailNumber = 0;
    int nTradeTotal=1;



    public TradeMessage(){

    }

    public TradeMessage(String mac, String message, String time, String sn) {
        this.mac = mac;
        this.message = message;
        this.time = time;
        this.sn = sn;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
    public int getnTradeTotal() {
        return nTradeTotal;
    }

    public void setnTradeTotal(int nTradeTotal) {
        this.nTradeTotal = nTradeTotal;
    }

    public void setnTradeCount(int nTradeCount) {
        this.nTradeCount = nTradeCount;
    }

    public void setnTradeSuccessNumber(int nTradeSuccessNumber) {
        this.nTradeSuccessNumber = nTradeSuccessNumber;
    }

    public void setnTradeFailNumber(int nTradeFailNumber) {
        this.nTradeFailNumber = nTradeFailNumber;
    }

    public int getnTradeCount() {
        return nTradeCount;
    }

    public int getnTradeSuccessNumber() {
        return nTradeSuccessNumber;
    }

    public int getnTradeFailNumber() {
        return nTradeFailNumber;
    }

}
